/*
 * @Author: your name
 * @Date: 2020-10-22 17:59:38
 * @LastEditTime: 2020-12-23 15:11:58
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tlwok-filing-saas-front\src\store\index.js
 */
import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    isOfflineRole: false //线下采购订单菜单权限
  },
  mutations: {
    setOfflineRole(state, offlineRole) {
      state.isOfflineRole = offlineRole;
    }
  },
  getters: {
    getOfflineRole: state => state.isOfflineRole
  },
  actions: {},
  modules: {}
});
